package org.meb.spdwldr;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Pattern dayPattern = Pattern.compile("(?i).*(wczoraj|dzisiaj|jutro|pojutrze).*");
		Matcher m = dayPattern.matcher("12 Jutro,");
		System.out.println(m.matches());
		System.out.println(m.group(1));
	}

}
